package br.com.teamware.ontrack.expenses;

import com.domainlanguage.money.Money;
import com.domainlanguage.time.TimePoint;

public class Expense {
	private String what;
	private String whatFor;
	private Money cost;
	private TimePoint due;
	
	public Expense(String what, String whatFor, Money cost, TimePoint due) {
		this.what=what;
		this.whatFor=whatFor;
		this.setCost(cost);
		this.setDue(due);
	}
	
	public void setWhat(String what) {
		this.what = what;
	}
	public String getWhat() {
		return what;
	}
	public void setWhatFor(String whatFor) {
		this.whatFor = whatFor;
	}
	public String getWhatFor() {
		return whatFor;
	}

	public void setCost(Money cost) {
		this.cost = cost;
	}

	public Money getCost() {
		return cost;
	}

	public void setDue(TimePoint due) {
		this.due = due;
	}

	public TimePoint getDue() {
		return due;
	}
}

